Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jb/retained heap analysis #89

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

jackbackrack
Copy link
Contributor

It shows the amount of memory that would be freed if all references to a particular object removed and it were garbage collected, called the retained size. This would allow us to figure out what/why objects are being held onto and how to fix it. The output is a dominator tree of memory usage starting from the memory roots and sorted at every level by retained memory size. It is shown in XML so that you can collapse and expand introspection. It shows the retained size and the static shallow size for each object. The api is heap-dominator-tree (filename:String) which takes a filename for the xml file that is created and populated with the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant